FROM php:7.4-fpm-alpine

COPY --from=ghcr.io/mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN install-php-extensions @composer bcmath redis pdo_mysql gd gettext intl mysqli pcntl pdo_mysql shmop soap sockets sysvsem xmlrpc zip

WORKDIR /var/www/